package cn.tedu.egmybatis4.mapper;

import cn.tedu.egmybatis4.pojo.entity.Customers;
import cn.tedu.egmybatis4.pojo.vo.CustomersVo1;
import cn.tedu.egmybatis4.pojo.vo.CustomersVo2;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CustomersMapper {

    int insertCustomer(Customers customers);

    CustomersVo1 selectCustomer(String custId);

    List<CustomersVo2> selectCustomerName();

    int updateCustomer(Customers customers);

    int deleteCustomer1(String [] id);

    int deleteCustomer2(List<String> ids);

}
